/*
 * @Date: 2023-04-04 09:39:47
 * @LastEditTime: 2023-04-17 14:24:33
 */
import request from '@/utils/request'

const Api = {
  // 用户注册
  REGISTER: '/login/register',
  // 用户登录
  LOGIN: '/login/login',
  // 忘记密码
  FORGET_PASS: '/login/forgetPassword'
}

export const register = (data) => request.post(Api.REGISTER, data)

export const login = (data) => request.post(Api.LOGIN, data)

export const forgetPassword = (data) => request.post(Api.FORGET_PASS, data)
